package model;

import java.util.ArrayList;
import java.util.Date;

public class Bill {
	private int id;
	private String type;
	private Date date;
	private int id_partner;
	private int id_detailBill;
	private int id_employee;
	private int sumAmount;
	private double sumMoney;
	private double sumTax;
	private double moneyPayment;
	private String payment;
	private ArrayList<Device> listDevice;

	public Bill(int id, String type, Date date, int id_partner,
			int id_detailBill, int id_employee, int sumAmount, double sumMoney,
			double sumTax, double moneyPayment, String payment) {
		this.id = id;
		this.type = type;
		this.date = date;
		this.id_partner = id_partner;
		this.id_detailBill = id_detailBill;
		this.id_employee = id_employee;
		this.sumAmount = sumAmount;
		this.sumMoney = sumMoney;
		this.sumTax = sumTax;
		this.moneyPayment = moneyPayment;
		this.payment = payment;
	}

	public Bill() {

	}

	public ArrayList<Device> getDevices() {
		return this.listDevice;
	}

	public void setDevices(ArrayList<Device> list) {
		this.listDevice = list;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public int getId_partner() {
		return id_partner;
	}

	public void setId_partner(int id_partner) {
		this.id_partner = id_partner;
	}

	public int getId_detailBill() {
		return id_detailBill;
	}

	public void setId_detailBill(int id_detailBill) {
		this.id_detailBill = id_detailBill;
	}

	public int getId_employee() {
		return id_employee;
	}

	public void setId_employee(int id_employee) {
		this.id_employee = id_employee;
	}

	public int getSumAmount() {
		return sumAmount;
	}

	public void setSumAmount(int sumAmount) {
		this.sumAmount = sumAmount;
	}

	public double getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(double sumMoney) {
		this.sumMoney = sumMoney;
	}

	public double getSumTax() {
		return sumTax;
	}

	public void setSumTax(double sumTax) {
		this.sumTax = sumTax;
	}

	public double getMoneyPayment() {
		return moneyPayment;
	}

	public void setMoneyPayment(double moneyPayment) {
		this.moneyPayment = moneyPayment;
	}

	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

}
